package org.yxt.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.yxt.springcloud.entity.Order;

@Mapper
public interface OrderMapper {

    /**
     * 创建订单
     *
     * @param order
     */
    void saveOrder(@Param("order") Order order);

    /**
     * 订单状态
     *
     * @param id
     * @param status
     */
    void updateOrderStatus(@Param("id") long id, @Param("status") int status);
}
